//
//  Man.m
//  07 - ARC代码编写
//
//  Created by 韩旭 on 16/7/12.
//  Copyright © 2016年 基础. All rights reserved.
//

#import "Man.h"

@implementation Man
- (instancetype)init
{
    self = [super init];
    if (self) {
    _objec = [NSObject new];
    }
    return self;
}
//ARC下缺少了if判段
- (void)setObjec:(NSObject *)objec {
    _objec = objec;
}
- (void)setString:(NSString *)string {
    _string = [string copy];
}
- (void)setCount:(NSInteger)count {
    _count = count;
}
- (void)setDelegate:(id<NSObject>)delegate {
    _delegate = delegate;
}

// ARC下可以写delloc
- (void)dealloc {
//    不能写【super delloc】
}

@end
